func net.newDNSError
28 uses
net (current package)
cgo_unix.go#L141: return 0, newDNSError(err, network+"/"+service, "")
cgo_unix.go#L143: return 0, newDNSError(errUnknownPort, network+"/"+service, "")
cgo_unix.go#L145: return 0, newDNSError(addrinfoErrno(gerrno), network+"/"+service, "")
cgo_unix.go#L162: return 0, newDNSError(errUnknownPort, network+"/"+service, "")
cgo_unix.go#L196: return nil, newDNSError(err, name, "")
cgo_unix.go#L198: return nil, newDNSError(errNoSuchHost, name, "")
cgo_unix.go#L206: return nil, newDNSError(errNoSuchHost, name, "")
cgo_unix.go#L210: return nil, newDNSError(addrinfoErrno(gerrno), name, "")
cgo_unix.go#L285: return nil, newDNSError(err, addr, "")
cgo_unix.go#L287: return nil, newDNSError(errNoSuchHost, addr, "")
cgo_unix.go#L289: return nil, newDNSError(addrinfoErrno(gerrno), addr, "")
dnsclient_unix.go#L318: dnsErr := newDNSError(err, name, server)
dnsclient_unix.go#L332: return p, server, newDNSError(errNoSuchHost, name, server)
dnsclient_unix.go#L334: lastErr = newDNSError(err, name, server)
dnsclient_unix.go#L342: return p, server, newDNSError(errNoSuchHost, name, server)
dnsclient_unix.go#L344: lastErr = newDNSError(err, name, server)
dnsclient_unix.go#L448: return dnsmessage.Parser{}, "", newDNSError(errNoSuchHost, name, "")
dnsclient_unix.go#L574: return nil, newDNSError(errNoSuchHost, name, "")
dnsclient_unix.go#L624: return nil, dnsmessage.Name{}, newDNSError(errNoSuchHost, name, "")
dnsclient_unix.go#L630: return nil, dnsmessage.Name{}, newDNSError(errNoSuchHost, name, "")
dnsclient_unix.go#L835: return nil, newDNSError(errNoSuchHost, addr, "")
lookup.go#L108: return 0, newDNSError(errUnknownPort, errNetwork+"/"+service, "")
lookup.go#L195: return nil, newDNSError(errNoSuchHost, host, "")
lookup.go#L239: return nil, newDNSError(errNoSuchHost, host, "")
lookup.go#L307: return nil, newDNSError(errNoSuchHost, host, "")
lookup.go#L357: err := newDNSError(mapErr(ctx.Err()), host, "")
lookup.go#L368: err = newDNSError(mapErr(err), host, "")
net.go#L679: func newDNSError(err error, name, server string) *DNSError {